package org.kolonitsky.translator;

/**
 * @author Alex.Kolonitsky
 */

public interface Translator {

    Lang from();

    Lang to();


    /**
     * Should return translation for 'text'
     *
     * @param text - text to translate
     * @return translation text if it founded
     *         null if no translation
     *
     * */
    String translate(String text);
}
